//
//  QSImagePickerController.h
//  TestTouchEvent
//
//  Created by apple on 2016/11/17.
//  Copyright © 2016年 MGCoin. All rights reserved.
//  参考SZKImagePickerVC

#import <UIKit/UIKit.h>
/**
 *  从哪里选择图片
 */
typedef NS_ENUM(NSInteger, ImagePickerStyle) {
    ImagePickerStyleCamera, // 相机
    ImagePickerStylePhotoLibrary    // 图库
};

/**
 *  协议
 */
@protocol QSImagePickerControllerDelegate <NSObject>
/**
 *  图片选择完毕
 */
- (void)imageChooseFinish:(UIImage *)image;
@end

@interface QSImagePickerController : UIImagePickerController
/**
 *  代理属性
 */
@property (nonatomic, weak) id<QSImagePickerControllerDelegate> QSDelegate;

/**
 *  导航栏的背景图片
 */
@property (nonatomic, weak) UIImage *navBarBgImage;

/**
 *  导航栏颜色
 */
@property (nonatomic, weak) UIColor *navBarColor;

/**
 *  导航栏title颜色
 */
@property (nonatomic, weak) UIColor *navTitleColor;

/**
 *  导航栏title的Font
 */
@property (nonatomic, weak) UIFont *navTitleFont;

/**
 *  导航栏btn的字体颜色
 */
@property (nonatomic, weak) UIColor *navBtnColor;

/**
 *  图片选择器的样式
 *
 *  ImagePickerStyleCamera         // 相机
 *  ImagePickerStylePhotoLibrary   // 图库
 */
@property (nonatomic, assign) ImagePickerStyle imgPickerStyle;
@end
